package topin.facecat.FaceCat.UI

import facecat.topin.core.FCColor
import facecat.topin.core.FCNative
import facecat.topin.core.FCTran

class MyColor {
    fun getUserColor(color: Long): Long {
        if (m_lastStyle != m_style) {
            if (m_lastStyle == -1) {
                val strColorStyle = ""
                if (strColorStyle != "nil") {
                    m_style = FCTran.strToInt(strColorStyle)
                }
            }
            m_lastStyle = m_style
            createColors()
        }
        return if (m_userColors.containsKey(color)) {
            m_userColors[color]!!
        } else color
    }

    var m_lastStyle = -1

    var m_userColors = HashMap<Long, Long>()

    fun createColors() {
        m_userColors.clear()
        if (m_style == 1) {
            /*m_userColors.put(USERCOLOR, FCColor.rgb(0, 0, 0)L);
        m_userColors.put(USERCOLOR100, FCColor.rgb(0, 0, 0)L);
        m_userColors.put(USERCOLOR101, FCColor.rgba(0, 0, 0, 100)L); //1
        m_userColors.put(USERCOLOR102, FCColor.rgb(0, 0, 0)L); //1
        m_userColors.put(USERCOLOR103, FCColor.rgb(0, 0, 0)L); //1
        m_userColors.put(USERCOLOR104, FCColor.rgb(42, 138, 195)L);
        m_userColors.put(USERCOLOR105, FCColor.rgba(0, 0, 0, 25)L); //1
        m_userColors.put(USERCOLOR106, FCColor.rgb(255, 255, 255)L); //1
        m_userColors.put(USERCOLOR107, FCColor.rgb(200, 200, 200)L); //1
        m_userColors.put(USERCOLOR108, FCColor.rgb(255, 255, 255)L); //1
        m_userColors.put(USERCOLOR109, FCColor.rgb(43, 138, 195)L);
        m_userColors.put(USERCOLOR110, FCColor.rgba(0, 0, 0, 200)L); //1
        m_userColors.put(USERCOLOR111, FCColor.rgb(255, 255, 255)L); //1
        m_userColors.put(USERCOLOR112, FCColor.rgba(200, 200, 200, 240)L); //1
        m_userColors.put(USERCOLOR113, FCColor.rgba(200, 200, 200, 100)L); //1
        m_userColors.put(USERCOLOR114, FCColor.rgb(200, 200, 200)L); //1
        m_userColors.put(USERCOLOR115, FCColor.rgb(200, 200, 200)L); //1
        m_userColors.put(USERCOLOR116, FCColor.rgb(150, 150, 150)L); //1
        m_userColors.put(USERCOLOR117, FCColor.rgba(0, 0, 0, 5)L); //1
        m_userColors.put(USERCOLOR118, FCColor.rgba(0, 0, 0, 50)L); //1
        m_userColors.put(USERCOLOR119, FCColor.rgb(50, 50, 50)L); //1
        m_userColors.put(USERCOLOR120, FCColor.rgb(175, 175, 175)L); //1
        m_userColors.put(USERCOLOR121, FCColor.rgb(0, 0, 0)L);
        m_userColors.put(USERCOLOR122, FCColor.rgba(43, 138, 195, 100)L);
        m_userColors.put(USERCOLOR123, FCColor.rgb(150, 150, 150)L); //1
        m_userColors.put(USERCOLOR124, FCColor.rgb(255, 82, 82)L);
        m_userColors.put(USERCOLOR125, FCColor.rgb(50, 105, 217)L);
        m_userColors.put(USERCOLOR126, FCColor.rgb(0, 0, 0)L); //1
        m_userColors.put(USERCOLOR127, FCColor.rgb(50, 50, 50)L); //1
        m_userColors.put(USERCOLOR128, FCColor.rgb(175, 175, 175)L);
        m_userColors.put(USERCOLOR129, FCColor.rgb(225, 225, 225)L);
        m_userColors.put(USERCOLOR130, FCColor.rgb(255, 0, 0)L); //1
        m_userColors.put(USERCOLOR131, FCColor.rgb(139, 180, 248)L);
        m_userColors.put(USERCOLOR132, FCColor.rgb(0, 165, 137)L);
        m_userColors.put(USERCOLOR133, FCColor.rgb(0, 0, 0)L);
        m_userColors.put(USERCOLOR134, FCColor.rgba(150, 150, 150, 200)L); //1
        m_userColors.put(USERCOLOR135, FCColor.rgba(43, 138, 195, 200)L);
        m_userColors.put(USERCOLOR136, FCColor.rgb(255, 80, 80)L);
        m_userColors.put(USERCOLOR137, FCColor.rgba(43, 138, 195, 25)L);
        m_userColors.put(USERCOLOR138, FCColor.rgba(51, 153, 255, 75)L);
        m_userColors.put(USERCOLOR139, FCColor.rgb(0, 200, 0)L);
        m_userColors.put(USERCOLOR140, FCColor.rgba(255, 255, 255, 10)L); //1
        m_userColors.put(USERCOLOR141, FCColor.rgba(200, 200, 200, 50)L); //1
        m_userColors.put(USERCOLOR142, FCColor.rgb(0, 105, 217)L);
        m_userColors.put(USERCOLOR143, FCColor.rgba(0, 0, 0, 150)L); //1
        m_userColors.put(USERCOLOR144, FCColor.rgba(255, 0, 0, 200)L);
        m_userColors.put(USERCOLOR145, FCColor.rgba(170, 178, 189, 50)L);
        m_userColors.put(USERCOLOR146, FCColor.rgba(170, 178, 189, 200)L);
        m_userColors.put(USERCOLOR147, FCColor.rgb(219, 68, 83)L);
        m_userColors.put(USERCOLOR148, FCColor.rgb(255, 80, 80)L);
        m_userColors.put(USERCOLOR149, FCColor.rgb(246, 187, 67)L);
        m_userColors.put(USERCOLOR150, FCColor.rgb(59, 174, 218)L);
        m_userColors.put(USERCOLOR151, FCColor.rgb(216, 112, 173)L);
        m_userColors.put(USERCOLOR152, FCColor.rgb(140, 192, 81)L);
        m_userColors.put(USERCOLOR153, FCColor.rgb(80, 255, 80)L);
        m_userColors.put(USERCOLOR154, FCColor.rgba(255, 80, 80, 200)L);
        m_userColors.put(USERCOLOR155, FCColor.rgba(200, 200, 200, 150)L); //1
        m_userColors.put(USERCOLOR156, FCColor.rgba(0, 105, 217, 240)L);
        m_userColors.put(USERCOLOR157, FCColor.rgba(255, 255, 255, 25)L); //1
        m_userColors.put(USERCOLOR158, FCColor.rgb(255, 215, 0)L);
        m_userColors.put(USERCOLOR159, FCColor.rgb(100, 100, 100)L); //1
        m_userColors.put(USERCOLOR160, FCColor.rgba(255, 255, 255, 200)L); //1
        m_userColors.put(USERCOLOR161, FCColor.rgba(43, 138, 195, 50)L);
        m_userColors.put(USERCOLOR162, FCColor.rgb(10, 36, 106)L);
        m_userColors.put(USERCOLOR163, FCColor.rgb(255, 255, 255)L); //1
        m_userColors.put(USERCOLOR164, FCColor.rgba(255, 255, 255, 100)L); //1
        m_userColors.put(USERCOLOR165, FCColor.rgba(255, 255, 255, 50)L); //1
        m_userColors.put(USERCOLOR166, FCColor.rgb(20, 20, 20)L); //1
        m_userColors.put(USERCOLOR167, FCColor.rgb(220, 220, 220)L); //1
        m_userColors.put(USERCOLOR168, FCColor.rgb(248, 73, 96)L);
        m_userColors.put(USERCOLOR169, FCColor.rgb(15, 193, 118)L);
        m_userColors.put(USERCOLOR170, FCColor.rgba(248, 73, 96, 150)L);
        m_userColors.put(USERCOLOR171, FCColor.rgba(15, 193, 118, 150)L);
        m_userColors.put(USERCOLOR172, FCColor.rgb(130, 140, 150)L);
        m_userColors.put(USERCOLOR173, FCColor.rgba(94, 102, 115, 200)L);
        m_userColors.put(USERCOLOR174, FCColor.rgb(83, 195, 42)L);
        m_userColors.put(USERCOLOR175, FCColor.rgb(231, 192, 42)L);
        m_userColors.put(USERCOLOR176, FCColor.rgb(254, 89, 82)L);
        m_userColors.put(USERCOLOR177, FCColor.rgba(42, 138, 195, 100)L);
        m_userColors.put(USERCOLOR178, FCColor.rgb(200, 200, 200)L); //1
        m_userColors.put(USERCOLOR179, FCColor.rgba(200, 200, 200, 150)L); //1
        m_userColors.put(USERCOLOR180, FCColor.rgb(16, 95, 205)L);
        m_userColors.put(USERCOLOR181, FCColor.rgba(16, 95, 205, 100)L);
        m_userColors.put(USERCOLOR182, FCColor.rgb(150, 150, 150)L); //1
        m_userColors.put(USERCOLOR183, FCColor.rgb(20, 20, 20)L); //1
        m_userColors.put(USERCOLOR184, FCColor.rgb(70, 76, 79)L);
        m_userColors.put(USERCOLOR185, FCColor.rgb(200, 200, 200)L);
        m_userColors.put(USERCOLOR186, FCColor.rgb(210, 210, 210)L); //1
        m_userColors.put(USERCOLOR187, FCColor.rgb(184, 185, 186)L);
        m_userColors.put(USERCOLOR188, FCColor.rgb(100, 100, 100)L); //1
        m_userColors.put(USERCOLOR189, FCColor.rgb(255, 255, 80)L);
        m_userColors.put(USERCOLOR190, FCColor.rgba(42, 138, 195, 200)L);  //1
        m_userColors.put(USERCOLOR191, FCColor.rgba(220, 220, 220, 50)L);
        m_userColors.put(USERCOLOR192, FCColor.rgba(200, 200, 200, 25)L);
        m_userColors.put(USERCOLOR193, FCColor.rgb(200, 200, 200)L); //1
        m_userColors.put(USERCOLOR194, FCColor.rgb(128, 128, 128)L);
        m_userColors.put(USERCOLOR195, FCColor.rgb(150, 0, 0)L);
        m_userColors.put(USERCOLOR196, FCColor.rgb(80, 255, 255)L);
        m_userColors.put(USERCOLOR197, FCColor.rgb(217, 217, 68)L);
        m_userColors.put(USERCOLOR198, FCColor.rgb(112, 112, 112)L);
        m_userColors.put(USERCOLOR199, FCColor.rgb(192, 192, 192)L);
        m_userColors.put(USERCOLOR200, FCColor.rgb(255, 255, 0)L);
        m_userColors.put(USERCOLOR201, FCColor.rgba(255, 255, 255, 200)L);
        m_userColors.put(USERCOLOR202, FCColor.rgba(43, 138, 195, 240)L);
        m_userColors.put(USERCOLOR203, FCColor.rgba(230, 230, 230, 240)L);
        m_userColors.put(USERCOLOR204, FCColor.rgba(0, 0, 0, 12)L); //1
        m_userColors.put(USERCOLOR205, FCColor.rgb(222, 86, 122)L);
        m_userColors.put(USERCOLOR206, FCColor.rgb(115, 183, 72)L);
        m_userColors.put(USERCOLOR207, FCColor.rgba(219, 68, 83, 200)L);
        m_userColors.put(USERCOLOR208, FCColor.rgba(140, 192, 81, 200)L);
        m_userColors.put(USERCOLOR209, FCColor.rgb(15, 193, 118)L);
        m_userColors.put(USERCOLOR210, FCColor.rgba(220, 220, 220, 100)L);
        m_userColors.put(USERCOLOR211, FCColor.rgba(42, 138, 195, 230)L);
        m_userColors.put(USERCOLOR212, FCColor.rgba(15, 193, 118, 50)L);
        m_userColors.put(USERCOLOR213, FCColor.rgba(248, 73, 96, 50)L);
        m_userColors.put(USERCOLOR214, FCColor.rgba(170, 178, 189, 25)L);
        m_userColors.put(USERCOLOR215, FCColor.rgb(217, 218, 223)L);
        m_userColors.put(USERCOLOR216, FCColor.rgb(167, 171, 184)L);
        m_userColors.put(FCColor_Back, FCColor.rgb(255, 255, 255)L); //1
        m_userColors.put(FCColor_Border, FCColor.rgb(200, 200, 200)L); //1
        m_userColors.put(FCColor_Text, FCColor.rgb(0, 0, 0)L); //1
        m_userColors.put(FCColor_DisabledBack, FCColor.rgba(0, 0, 0, 25)L); //1
        m_userColors.put(FCColor_DisabledText, 3289650L);
        m_userColors.put(FCColor_Hovered, FCColor.rgba(43, 138, 195, 150)L);
        m_userColors.put(FCColor_Pushed, FCColor.rgba(43, 138, 195, 100)L);*/
            m_userColors[USERCOLOR100] = 0L
            m_userColors[USERCOLOR101] = -100L
            m_userColors[USERCOLOR102] = 0L
            m_userColors[USERCOLOR103] = 0L
            m_userColors[USERCOLOR104] = 12814890L
            m_userColors[USERCOLOR105] = -25L
            m_userColors[USERCOLOR106] = 16777215L
            m_userColors[USERCOLOR107] = 13158600L
            m_userColors[USERCOLOR108] = 16777215L
            m_userColors[USERCOLOR109] = 12814891L
            m_userColors[USERCOLOR110] = -200L
            m_userColors[USERCOLOR111] = 16777215L
            m_userColors[USERCOLOR112] = -13158600240L
            m_userColors[USERCOLOR113] = -13158600100L
            m_userColors[USERCOLOR114] = 13158600L
            m_userColors[USERCOLOR115] = 13158600L
            m_userColors[USERCOLOR116] = 9868950L
            m_userColors[USERCOLOR117] = -5L
            m_userColors[USERCOLOR118] = -50L
            m_userColors[USERCOLOR119] = 3289650L
            m_userColors[USERCOLOR120] = 11513775L
            m_userColors[USERCOLOR121] = 0L
            m_userColors[USERCOLOR122] = -12814891100L
            m_userColors[USERCOLOR123] = 9868950L
            m_userColors[USERCOLOR124] = 5395199L
            m_userColors[USERCOLOR125] = 14248242L
            m_userColors[USERCOLOR126] = 0L
            m_userColors[USERCOLOR127] = 3289650L
            m_userColors[USERCOLOR128] = 11513775L
            m_userColors[USERCOLOR129] = 14803425L
            m_userColors[USERCOLOR130] = 255L
            m_userColors[USERCOLOR131] = 16299147L
            m_userColors[USERCOLOR132] = 9020672L
            m_userColors[USERCOLOR133] = 0L
            m_userColors[USERCOLOR134] = -9868950200L
            m_userColors[USERCOLOR135] = -12814891200L
            m_userColors[USERCOLOR136] = 5263615L
            m_userColors[USERCOLOR137] = -12814891025L
            m_userColors[USERCOLOR138] = -16750899075L
            m_userColors[USERCOLOR139] = 51200L
            m_userColors[USERCOLOR140] = -16777215010L
            m_userColors[USERCOLOR141] = -13158600050L
            m_userColors[USERCOLOR142] = 14248192L
            m_userColors[USERCOLOR143] = -150L
            m_userColors[USERCOLOR144] = -255200L
            m_userColors[USERCOLOR145] = -12432042050L
            m_userColors[USERCOLOR146] = -12432042200L
            m_userColors[USERCOLOR147] = 5457115L
            m_userColors[USERCOLOR148] = 5263615L
            m_userColors[USERCOLOR149] = 4439030L
            m_userColors[USERCOLOR150] = 14331451L
            m_userColors[USERCOLOR151] = 11366616L
            m_userColors[USERCOLOR152] = 5357708L
            m_userColors[USERCOLOR153] = 5308240L
            m_userColors[USERCOLOR154] = -5263615200L
            m_userColors[USERCOLOR155] = -13158600150L
            m_userColors[USERCOLOR156] = -14248192240L
            m_userColors[USERCOLOR157] = -16777215025L
            m_userColors[USERCOLOR158] = 55295L
            m_userColors[USERCOLOR159] = 6579300L
            m_userColors[USERCOLOR160] = -16777215200L
            m_userColors[USERCOLOR161] = -12814891050L
            m_userColors[USERCOLOR162] = 6956042L
            m_userColors[USERCOLOR163] = 16777215L
            m_userColors[USERCOLOR164] = -16777215100L
            m_userColors[USERCOLOR165] = -16777215050L
            m_userColors[USERCOLOR166] = 1315860L
            m_userColors[USERCOLOR167] = 14474460L
            m_userColors[USERCOLOR168] = 6310392L
            m_userColors[USERCOLOR169] = 7782671L
            m_userColors[USERCOLOR170] = -6310392150L
            m_userColors[USERCOLOR171] = -7782671150L
            m_userColors[USERCOLOR172] = 9866370L
            m_userColors[USERCOLOR173] = -7562846200L
            m_userColors[USERCOLOR174] = 2802515L
            m_userColors[USERCOLOR175] = 2801895L
            m_userColors[USERCOLOR176] = 5396990L
            m_userColors[USERCOLOR177] = -12814890100L
            m_userColors[USERCOLOR178] = 13158600L
            m_userColors[USERCOLOR179] = -13158600150L
            m_userColors[USERCOLOR180] = 13459216L
            m_userColors[USERCOLOR181] = -13459216100L
            m_userColors[USERCOLOR182] = 9868950L
            m_userColors[USERCOLOR183] = 1315860L
            m_userColors[USERCOLOR184] = 5196870L
            m_userColors[USERCOLOR185] = 13158600L
            m_userColors[USERCOLOR186] = 13816530L
            m_userColors[USERCOLOR187] = 12237240L
            m_userColors[USERCOLOR188] = 6579300L
            m_userColors[USERCOLOR189] = 5308415L
            m_userColors[USERCOLOR190] = -12814890200L
            m_userColors[USERCOLOR191] = -14474460050L
            m_userColors[USERCOLOR192] = -13158600025L
            m_userColors[USERCOLOR193] = 14474460L
            m_userColors[USERCOLOR194] = 8421504L
            m_userColors[USERCOLOR195] = 150L
            m_userColors[USERCOLOR196] = 16777040L
            m_userColors[USERCOLOR197] = 4512217L
            m_userColors[USERCOLOR198] = 7368816L
            m_userColors[USERCOLOR199] = 12632256L
            m_userColors[USERCOLOR200] = 65535L
            m_userColors[USERCOLOR201] = -16777215200L
            m_userColors[USERCOLOR202] = -12814891240L
            m_userColors[USERCOLOR203] = -15132390240L
            m_userColors[USERCOLOR204] = -12L
            m_userColors[USERCOLOR205] = 8017630L
            m_userColors[USERCOLOR206] = 4765555L
            m_userColors[USERCOLOR207] = -5457115200L
            m_userColors[USERCOLOR208] = -5357708200L
            m_userColors[USERCOLOR209] = 7782671L
            m_userColors[USERCOLOR210] = -14474460100L
            m_userColors[USERCOLOR211] = -12814890230L
            m_userColors[USERCOLOR212] = -7782671050L
            m_userColors[USERCOLOR213] = -6310392050L
            m_userColors[USERCOLOR214] = -12432042025L
            m_userColors[USERCOLOR215] = 14670553L
            m_userColors[USERCOLOR216] = 12102567L
            m_userColors[USERCOLOR217] = FCColor.rgb(0, 0, 0)
            m_userColors[USERCOLOR218] = FCColor.rgb(0, 0, 0)
            m_userColors[USERCOLOR219] = FCColor.rgb(200, 200, 200)
            m_userColors[FCColor.Back] = 16777215L
            m_userColors[FCColor.Border] = 13158600L
            m_userColors[FCColor.Text] = 0L
            m_userColors[FCColor.DisabledBack] = -25L
            m_userColors[FCColor.DisabledText] = 3289650L
            m_userColors[FCColor.Hovered] = -12814891150L
            m_userColors[FCColor.Pushed] = -12814891100L
        } else {
            /*m_userColors.put(USERCOLOR, FCColor.rgb(230, 230, 230)L);
         m_userColors.put(USERCOLOR100, FCColor.rgb(230, 230, 230)L);
         m_userColors.put(USERCOLOR101, FCColor.rgba(255, 255, 255, 100)L);
         m_userColors.put(USERCOLOR102, FCColor.rgb(255, 255, 255)L);
         m_userColors.put(USERCOLOR103, FCColor.rgb(0, 0, 0)L);
         m_userColors.put(USERCOLOR104, FCColor.rgb(42, 138, 195)L);
         m_userColors.put(USERCOLOR105, FCColor.rgba(255, 255, 255, 25)L);
         m_userColors.put(USERCOLOR106, FCColor.rgb(19, 21, 26)L);
         m_userColors.put(USERCOLOR107, FCColor.rgb(50, 50, 50)L);
         m_userColors.put(USERCOLOR108, FCColor.rgb(0, 0, 0)L);
         m_userColors.put(USERCOLOR109, FCColor.rgb(43, 138, 195)L);
         m_userColors.put(USERCOLOR110, FCColor.rgba(255, 255, 255, 200)L);
         m_userColors.put(USERCOLOR111, FCColor.rgb(19, 21, 26)L);
         m_userColors.put(USERCOLOR112, FCColor.rgba(50, 50, 50, 240)L);
         m_userColors.put(USERCOLOR113, FCColor.rgba(50, 50, 50, 100)L);
         m_userColors.put(USERCOLOR114, FCColor.rgb(46, 47, 49)L);;
         m_userColors.put(USERCOLOR115, FCColor.rgb(50, 50, 50)L);
         m_userColors.put(USERCOLOR116, FCColor.rgb(100, 100, 100)L);
         m_userColors.put(USERCOLOR117, FCColor.rgba(255, 255, 255, 5)L);
         m_userColors.put(USERCOLOR118, FCColor.rgba(255, 255, 255, 50)L);
         m_userColors.put(USERCOLOR119, FCColor.rgb(200, 200, 200)L);
         m_userColors.put(USERCOLOR120, FCColor.rgb(75, 75, 75)L);
         m_userColors.put(USERCOLOR121, FCColor.rgb(170, 178, 189)L);
         m_userColors.put(USERCOLOR122, FCColor.rgba(43, 138, 195, 100)L);
         m_userColors.put(USERCOLOR123, FCColor.rgb(100, 100, 100)L);
         m_userColors.put(USERCOLOR124, FCColor.rgb(255, 82, 82)L);
         m_userColors.put(USERCOLOR125, FCColor.rgb(50, 105, 217)L);
         m_userColors.put(USERCOLOR126, FCColor.rgb(255, 255, 255)L);
         m_userColors.put(USERCOLOR127, FCColor.rgb(200, 200, 200)L);
         m_userColors.put(USERCOLOR128, FCColor.rgb(80, 80, 80)L);
         m_userColors.put(USERCOLOR129, FCColor.rgb(25, 25, 25)L);
         m_userColors.put(USERCOLOR130, FCColor.rgb(255, 0, 0)L);
         m_userColors.put(USERCOLOR131, FCColor.rgb(139, 180, 248)L);
         m_userColors.put(USERCOLOR132, FCColor.rgb(0, 165, 137)L);
         m_userColors.put(USERCOLOR133, FCColor.rgb(230, 230, 230)L);
         m_userColors.put(USERCOLOR134, FCColor.rgba(100, 100, 100, 200)L);
         m_userColors.put(USERCOLOR135, FCColor.rgba(43, 138, 195, 200)L);
         m_userColors.put(USERCOLOR136, FCColor.rgb(255, 80, 80)L);
         m_userColors.put(USERCOLOR137, FCColor.rgba(43, 138, 195, 25)L);
         m_userColors.put(USERCOLOR138, FCColor.rgba(51, 153, 255, 75)L);
         m_userColors.put(USERCOLOR139, FCColor.rgb(0, 200, 0)L);
         m_userColors.put(USERCOLOR140, FCColor.rgba(0, 0, 0, 10)L);
         m_userColors.put(USERCOLOR141, FCColor.rgba(50, 50, 50, 50)L);
         m_userColors.put(USERCOLOR142, FCColor.rgb(0, 105, 217)L);
         m_userColors.put(USERCOLOR143, FCColor.rgba(255, 255, 255, 150)L);
         m_userColors.put(USERCOLOR144, FCColor.rgba(255, 0, 0, 200)L);
         m_userColors.put(USERCOLOR145, FCColor.rgba(170, 178, 189, 50)L);
         m_userColors.put(USERCOLOR146, FCColor.rgba(170, 178, 189, 200)L);
         m_userColors.put(USERCOLOR147, FCColor.rgb(219, 68, 83)L);
         m_userColors.put(USERCOLOR148, FCColor.rgb(255, 80, 80)L);
         m_userColors.put(USERCOLOR149, FCColor.rgb(246, 187, 67)L);
         m_userColors.put(USERCOLOR150, FCColor.rgb(59, 174, 218)L);
         m_userColors.put(USERCOLOR151, FCColor.rgb(216, 112, 173)L);
         m_userColors.put(USERCOLOR152, FCColor.rgb(140, 192, 81)L);
         m_userColors.put(USERCOLOR153, FCColor.rgb(80, 255, 80)L);
         m_userColors.put(USERCOLOR154, FCColor.rgba(255, 80, 80, 200)L);
         m_userColors.put(USERCOLOR155, FCColor.rgba(50, 50, 50, 150)L);
         m_userColors.put(USERCOLOR156, FCColor.rgba(0, 105, 217, 240)L);
         m_userColors.put(USERCOLOR157, FCColor.rgba(0, 0, 0, 25)L);
         m_userColors.put(USERCOLOR158, FCColor.rgb(255, 215, 0)L);
         m_userColors.put(USERCOLOR159, FCColor.rgb(150, 150, 150)L);
         m_userColors.put(USERCOLOR160, FCColor.rgba(0, 0, 0, 200)L);
         m_userColors.put(USERCOLOR161, FCColor.rgba(43, 138, 195, 50)L);
         m_userColors.put(USERCOLOR162, FCColor.rgb(10, 36, 106)L);
         m_userColors.put(USERCOLOR163, FCColor.rgb(21, 24, 28)L);
         m_userColors.put(USERCOLOR164, FCColor.rgba(0, 0, 0, 100)L);
         m_userColors.put(USERCOLOR165, FCColor.rgba(0, 0, 0, 50)L);
         m_userColors.put(USERCOLOR166, FCColor.rgb(230, 230, 230)L);
         m_userColors.put(USERCOLOR167, FCColor.rgb(32, 36, 38)L);
         m_userColors.put(USERCOLOR168, FCColor.rgb(248, 73, 96)L);
         m_userColors.put(USERCOLOR169, FCColor.rgb(15, 193, 118)L);
         m_userColors.put(USERCOLOR170, FCColor.rgba(248, 73, 96, 150)L);
         m_userColors.put(USERCOLOR171, FCColor.rgba(15, 193, 118, 150)L);
         m_userColors.put(USERCOLOR172, FCColor.rgb(130, 140, 150)L);
         m_userColors.put(USERCOLOR173, FCColor.rgba(94, 102, 115, 200)L);
         m_userColors.put(USERCOLOR174, FCColor.rgb(83, 195, 42)L);
         m_userColors.put(USERCOLOR175, FCColor.rgb(231, 192, 42)L);
         m_userColors.put(USERCOLOR176, FCColor.rgb(254, 89, 82)L);
         m_userColors.put(USERCOLOR177, FCColor.rgba(42, 138, 195, 100)L);
         m_userColors.put(USERCOLOR178, FCColor.rgb(52, 53, 58)L);
         m_userColors.put(USERCOLOR179, FCColor.rgba(52, 53, 58, 150)L);
         m_userColors.put(USERCOLOR180, FCColor.rgb(16, 95, 205)L);
         m_userColors.put(USERCOLOR181, FCColor.rgba(16, 95, 205, 100)L);
         m_userColors.put(USERCOLOR182, FCColor.rgb(107, 107, 107)L);
         m_userColors.put(USERCOLOR183, FCColor.rgb(233, 233, 233)L);
         m_userColors.put(USERCOLOR184, FCColor.rgb(70, 76, 79)L);
         m_userColors.put(USERCOLOR185, FCColor.rgb(50, 82, 114)L);
         m_userColors.put(USERCOLOR186, FCColor.rgb(39, 41, 46)L);
         m_userColors.put(USERCOLOR187, FCColor.rgb(184, 185, 186)L);
         m_userColors.put(USERCOLOR188, FCColor.rgb(150, 150, 150)L);
         m_userColors.put(USERCOLOR189, FCColor.rgb(255, 255, 80)L);
         m_userColors.put(USERCOLOR190, FCColor.rgba(42, 138, 195, 200)L);
         m_userColors.put(USERCOLOR191, FCColor.rgba(32, 36, 38, 50)L);;
         m_userColors.put(USERCOLOR192, FCColor.rgba(50, 50, 50, 25)L);
         m_userColors.put(USERCOLOR193, FCColor.rgb(50, 50, 50)L);
         m_userColors.put(USERCOLOR194, FCColor.rgb(128, 128, 128)L);
         m_userColors.put(USERCOLOR195, FCColor.rgb(150, 0, 0)L);
         m_userColors.put(USERCOLOR196, FCColor.rgb(80, 255, 255)L);
         m_userColors.put(USERCOLOR197, FCColor.rgb(217, 217, 68)L);
         m_userColors.put(USERCOLOR198, FCColor.rgb(112, 112, 112)L);
         m_userColors.put(USERCOLOR199, FCColor.rgb(192, 192, 192)L);
         m_userColors.put(USERCOLOR200, FCColor.rgb(255, 255, 0)L);
         m_userColors.put(USERCOLOR201, FCColor.rgba(0, 0, 0, 200)L);
         m_userColors.put(USERCOLOR202, FCColor.rgba(43, 138, 195, 240)L);
         m_userColors.put(USERCOLOR203, FCColor.rgba(21, 24, 28, 240)L);
         m_userColors.put(USERCOLOR204, FCColor.rgba(255, 255, 255, 12)L);
         m_userColors.put(USERCOLOR205, FCColor.rgb(222, 86, 122)L);
         m_userColors.put(USERCOLOR206, FCColor.rgb(115, 183, 72)L);
         m_userColors.put(USERCOLOR207, FCColor.rgba(219, 68, 83, 200)L);
         m_userColors.put(USERCOLOR208, FCColor.rgba(140, 192, 81, 200)L);
         m_userColors.put(USERCOLOR209, FCColor.rgb(15, 193, 118)L);
         m_userColors.put(USERCOLOR210, FCColor.rgba(32, 36, 38, 100)L);
         m_userColors.put(USERCOLOR211, FCColor.rgba(42, 138, 195, 230)L);
         m_userColors.put(USERCOLOR212, FCColor.rgba(15, 193, 118, 50)L);
         m_userColors.put(USERCOLOR213, FCColor.rgba(248, 73, 96, 50)L);
         m_userColors.put(USERCOLOR214, FCColor.rgba(170, 178, 189, 25)L);
         m_userColors.put(USERCOLOR215, FCColor.rgb(217, 218, 223)L);
         m_userColors.put(USERCOLOR216, FCColor.rgb(167, 171, 184)L);
         m_userColors.put(FCColor_Back, FCColor.rgb(19, 21, 26)L);
         m_userColors.put(FCColor_Border, FCColor.rgb(50, 50, 50)L);
         m_userColors.put(FCColor_Text, FCColor.rgb(255, 255, 255)L);
         m_userColors.put(FCColor_DisabledBack, FCColor.rgba(255, 255, 255, 25)L);
         m_userColors.put(FCColor_DisabledText, 3289650L);
         m_userColors.put(FCColor_Hovered, FCColor.rgba(43, 138, 195, 150)L);
         m_userColors.put(FCColor_Pushed, FCColor.rgba(43, 138, 195, 100)L);*/
            m_userColors[USERCOLOR100] = 15132390L
            m_userColors[USERCOLOR101] = -16777215100L
            m_userColors[USERCOLOR102] = 16777215L
            m_userColors[USERCOLOR103] = 0L
            m_userColors[USERCOLOR104] = 12814890L
            m_userColors[USERCOLOR105] = -16777215025L
            m_userColors[USERCOLOR106] = 1709331L
            m_userColors[USERCOLOR107] = 3289650L
            m_userColors[USERCOLOR108] = 0L
            m_userColors[USERCOLOR109] = 12814891L
            m_userColors[USERCOLOR110] = -16777215200L
            m_userColors[USERCOLOR111] = 1709331L
            m_userColors[USERCOLOR112] = -3289650240L
            m_userColors[USERCOLOR113] = -3289650100L
            m_userColors[USERCOLOR114] = 3223342L
            m_userColors[USERCOLOR115] = 3289650L
            m_userColors[USERCOLOR116] = 6579300L
            m_userColors[USERCOLOR117] = -16777215005L
            m_userColors[USERCOLOR118] = -16777215050L
            m_userColors[USERCOLOR119] = 13158600L
            m_userColors[USERCOLOR120] = 4934475L
            m_userColors[USERCOLOR121] = 12432042L
            m_userColors[USERCOLOR122] = -12814891100L
            m_userColors[USERCOLOR123] = 6579300L
            m_userColors[USERCOLOR124] = 5395199L
            m_userColors[USERCOLOR125] = 14248242L
            m_userColors[USERCOLOR126] = 16777215L
            m_userColors[USERCOLOR127] = 13158600L
            m_userColors[USERCOLOR128] = 5263440L
            m_userColors[USERCOLOR129] = 1644825L
            m_userColors[USERCOLOR130] = 255L
            m_userColors[USERCOLOR131] = 16299147L
            m_userColors[USERCOLOR132] = 9020672L
            m_userColors[USERCOLOR133] = 15132390L
            m_userColors[USERCOLOR134] = -6579300200L
            m_userColors[USERCOLOR135] = -12814891200L
            m_userColors[USERCOLOR136] = 5263615L
            m_userColors[USERCOLOR137] = -12814891025L
            m_userColors[USERCOLOR138] = -16750899075L
            m_userColors[USERCOLOR139] = 51200L
            m_userColors[USERCOLOR140] = -10L
            m_userColors[USERCOLOR141] = -3289650050L
            m_userColors[USERCOLOR142] = 14248192L
            m_userColors[USERCOLOR143] = -16777215150L
            m_userColors[USERCOLOR144] = -255200L
            m_userColors[USERCOLOR145] = -12432042050L
            m_userColors[USERCOLOR146] = -12432042200L
            m_userColors[USERCOLOR147] = 5457115L
            m_userColors[USERCOLOR148] = 5263615L
            m_userColors[USERCOLOR149] = 4439030L
            m_userColors[USERCOLOR150] = 14331451L
            m_userColors[USERCOLOR151] = 11366616L
            m_userColors[USERCOLOR152] = 5357708L
            m_userColors[USERCOLOR153] = 5308240L
            m_userColors[USERCOLOR154] = -5263615200L
            m_userColors[USERCOLOR155] = -3289650150L
            m_userColors[USERCOLOR156] = -14248192240L
            m_userColors[USERCOLOR157] = -25L
            m_userColors[USERCOLOR158] = 55295L
            m_userColors[USERCOLOR159] = 9868950L
            m_userColors[USERCOLOR160] = -200L
            m_userColors[USERCOLOR161] = -12814891050L
            m_userColors[USERCOLOR162] = 6956042L
            m_userColors[USERCOLOR163] = 1841173L
            m_userColors[USERCOLOR164] = -100L
            m_userColors[USERCOLOR165] = -50L
            m_userColors[USERCOLOR166] = 15132390L
            m_userColors[USERCOLOR167] = 2499616L
            m_userColors[USERCOLOR168] = 6310392L
            m_userColors[USERCOLOR169] = 7782671L
            m_userColors[USERCOLOR170] = -6310392150L
            m_userColors[USERCOLOR171] = -7782671150L
            m_userColors[USERCOLOR172] = 9866370L
            m_userColors[USERCOLOR173] = -7562846200L
            m_userColors[USERCOLOR174] = 2802515L
            m_userColors[USERCOLOR175] = 2801895L
            m_userColors[USERCOLOR176] = 5396990L
            m_userColors[USERCOLOR177] = -12814890100L
            m_userColors[USERCOLOR178] = 3814708L
            m_userColors[USERCOLOR179] = -3814708150L
            m_userColors[USERCOLOR180] = 13459216L
            m_userColors[USERCOLOR181] = -13459216100L
            m_userColors[USERCOLOR182] = 7039851L
            m_userColors[USERCOLOR183] = 15329769L
            m_userColors[USERCOLOR184] = 5196870L
            m_userColors[USERCOLOR185] = 7492146L
            m_userColors[USERCOLOR186] = 3025191L
            m_userColors[USERCOLOR187] = 12237240L
            m_userColors[USERCOLOR188] = 9868950L
            m_userColors[USERCOLOR189] = 5308415L
            m_userColors[USERCOLOR190] = -12814890200L
            m_userColors[USERCOLOR191] = -2499616050L
            m_userColors[USERCOLOR192] = -3289650025L
            m_userColors[USERCOLOR193] = 3289650L
            m_userColors[USERCOLOR194] = 8421504L
            m_userColors[USERCOLOR195] = 150L
            m_userColors[USERCOLOR196] = 16777040L
            m_userColors[USERCOLOR197] = 4512217L
            m_userColors[USERCOLOR198] = 7368816L
            m_userColors[USERCOLOR199] = 12632256L
            m_userColors[USERCOLOR200] = 65535L
            m_userColors[USERCOLOR201] = -200L
            m_userColors[USERCOLOR202] = -12814891240L
            m_userColors[USERCOLOR203] = -1841173240L
            m_userColors[USERCOLOR204] = -16777215012L
            m_userColors[USERCOLOR205] = 8017630L
            m_userColors[USERCOLOR206] = 4765555L
            m_userColors[USERCOLOR207] = -5457115200L
            m_userColors[USERCOLOR208] = -5357708200L
            m_userColors[USERCOLOR209] = 7782671L
            m_userColors[USERCOLOR210] = -2499616100L
            m_userColors[USERCOLOR211] = -12814890230L
            m_userColors[USERCOLOR212] = -7782671050L
            m_userColors[USERCOLOR213] = -6310392050L
            m_userColors[USERCOLOR214] = -12432042025L
            m_userColors[USERCOLOR215] = 14670553L
            m_userColors[USERCOLOR216] = 12102567L
            m_userColors[USERCOLOR217] = FCColor.rgb(194, 151, 18)
            m_userColors[USERCOLOR218] = FCColor.rgb(175, 196, 228)
            m_userColors[USERCOLOR219] = FCColor.rgb(75, 75, 75)
            m_userColors[FCColor.Back] = 1380366L
            m_userColors[FCColor.Border] = 3289650L
            m_userColors[FCColor.Text] = 16777215L
            m_userColors[FCColor.DisabledBack] = -16777215025L
            m_userColors[FCColor.DisabledText] = 3289650L
            m_userColors[FCColor.Hovered] = -12814891150L
        }
    }

    companion object {
        var m_systemFont = ""
        var systemFont: String
            get() {
                if (m_systemFont.length == 0) {
                    m_systemFont = "System"
                }
                return m_systemFont
            }
            set(value) {
                m_systemFont = value
                FCNative.addChangeID()
            }
        var m_zoomFactor = ""
        var zoomFactor: String
            get() {
                if (m_zoomFactor.length == 0) {
                    m_zoomFactor = "nil"
                }
                return m_zoomFactor
            }
            set(value) {
                m_zoomFactor = value
            }

        var m_style = 0
        var style: Int
            get() = m_style
            set(style) {
                m_style = style
                FCNative.addChangeID()
            }

        var USERCOLOR = -200000000100L
        var USERCOLOR100 = -200000000100L
        var USERCOLOR101 = -200000000101L
        var USERCOLOR102 = -200000000102L
        var USERCOLOR103 = -200000000103L
        var USERCOLOR104 = -200000000104L
        var USERCOLOR105 = -200000000105L
        var USERCOLOR106 = -200000000106L
        var USERCOLOR107 = -200000000107L
        var USERCOLOR108 = -200000000108L
        var USERCOLOR109 = -200000000109L
        var USERCOLOR110 = -200000000110L
        var USERCOLOR111 = -200000000111L
        var USERCOLOR112 = -200000000112L
        var USERCOLOR113 = -200000000113L
        var USERCOLOR114 = -200000000114L
        var USERCOLOR115 = -200000000115L
        var USERCOLOR116 = -200000000116L
        var USERCOLOR117 = -200000000117L
        var USERCOLOR118 = -200000000118L
        var USERCOLOR119 = -200000000119L
        var USERCOLOR120 = -200000000120L
        var USERCOLOR121 = -200000000121L
        var USERCOLOR122 = -200000000122L
        var USERCOLOR123 = -200000000123L
        var USERCOLOR124 = -200000000124L
        var USERCOLOR125 = -200000000125L
        var USERCOLOR126 = -200000000126L
        var USERCOLOR127 = -200000000127L
        var USERCOLOR128 = -200000000128L
        var USERCOLOR129 = -200000000129L
        var USERCOLOR130 = -200000000130L
        var USERCOLOR131 = -200000000131L
        var USERCOLOR132 = -200000000132L
        var USERCOLOR133 = -200000000133L
        var USERCOLOR134 = -200000000134L
        var USERCOLOR135 = -200000000135L
        var USERCOLOR136 = -200000000136L
        var USERCOLOR137 = -200000000137L
        var USERCOLOR138 = -200000000138L
        var USERCOLOR139 = -200000000139L
        var USERCOLOR140 = -200000000140L
        var USERCOLOR141 = -200000000141L
        var USERCOLOR142 = -200000000142L
        var USERCOLOR143 = -200000000143L
        var USERCOLOR144 = -200000000144L
        var USERCOLOR145 = -200000000145L
        var USERCOLOR146 = -200000000146L
        var USERCOLOR147 = -200000000147L
        var USERCOLOR148 = -200000000148L
        var USERCOLOR149 = -200000000149L
        var USERCOLOR150 = -200000000150L
        var USERCOLOR151 = -200000000151L
        var USERCOLOR152 = -200000000152L
        var USERCOLOR153 = -200000000153L
        var USERCOLOR154 = -200000000154L
        var USERCOLOR155 = -200000000155L
        var USERCOLOR156 = -200000000156L
        var USERCOLOR157 = -200000000157L
        var USERCOLOR158 = -200000000158L
        var USERCOLOR159 = -200000000159L
        var USERCOLOR160 = -200000000160L
        var USERCOLOR161 = -200000000161L
        var USERCOLOR162 = -200000000162L
        var USERCOLOR163 = -200000000163L
        var USERCOLOR164 = -200000000164L
        var USERCOLOR165 = -200000000165L
        var USERCOLOR166 = -200000000166L
        var USERCOLOR167 = -200000000167L
        var USERCOLOR168 = -200000000168L
        var USERCOLOR169 = -200000000169L
        var USERCOLOR170 = -200000000170L
        var USERCOLOR171 = -200000000171L
        var USERCOLOR172 = -200000000172L
        var USERCOLOR173 = -200000000173L
        var USERCOLOR174 = -200000000174L
        var USERCOLOR175 = -200000000175L
        var USERCOLOR176 = -200000000176L
        var USERCOLOR177 = -200000000177L
        var USERCOLOR178 = -200000000178L
        var USERCOLOR179 = -200000000179L
        var USERCOLOR180 = -200000000180L
        var USERCOLOR181 = -200000000181L
        var USERCOLOR182 = -200000000182L
        var USERCOLOR183 = -200000000183L
        var USERCOLOR184 = -200000000184L
        var USERCOLOR185 = -200000000185L
        var USERCOLOR186 = -200000000186L
        var USERCOLOR187 = -200000000187L
        var USERCOLOR188 = -200000000188L
        var USERCOLOR189 = -200000000189L
        var USERCOLOR190 = -200000000190L
        var USERCOLOR191 = -200000000191L
        var USERCOLOR192 = -200000000192L
        var USERCOLOR193 = -200000000193L
        var USERCOLOR194 = -200000000194L
        var USERCOLOR195 = -200000000195L
        var USERCOLOR196 = -200000000196L
        var USERCOLOR197 = -200000000197L
        var USERCOLOR198 = -200000000198L
        var USERCOLOR199 = -200000000199L
        var USERCOLOR200 = -200000000200L
        var USERCOLOR201 = -200000000201L
        var USERCOLOR202 = -200000000202L
        var USERCOLOR203 = -200000000203L
        var USERCOLOR204 = -200000000204L
        var USERCOLOR205 = -200000000205L
        var USERCOLOR206 = -200000000206L
        var USERCOLOR207 = -200000000207L
        var USERCOLOR208 = -200000000208L
        var USERCOLOR209 = -200000000209L
        var USERCOLOR210 = -200000000210L
        var USERCOLOR211 = -200000000211L
        var USERCOLOR212 = -200000000212L
        var USERCOLOR213 = -200000000213L
        var USERCOLOR214 = -200000000214L
        var USERCOLOR215 = -200000000215L
        var USERCOLOR216 = -200000000216L
        var USERCOLOR217 = -200000000217L
        var USERCOLOR218 = -200000000218L
        var USERCOLOR219 = -200000000219L
    }
}

